if  yarn build ; then
   cp src/packages/package.json chat-room-npm 
   cd chat-room-npm  
   git add .  
   git commit -m 'update'  
   git push origin master 
   
else 
    echo "build failed"
    read -n 1
fi

sleep 10